﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Sharp.Framework.Extensions;

namespace LERP.Web.Controllers
{
    public class HomeController : BaseController
    { 
        public ActionResult UserInfo()
        {
            ViewBag.UserName = string.Format("{0}[{1}]", Current.UserName, Current.Role.GetDescription());
            ViewBag.Name = Current.Name; 

            return View();
        }
         
    }
}
